
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置TravelTicketDetail的AutoMapper
    /// </summary>
	internal static class TravelTicketDetailMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TravelTicketDetail,TravelTicketDetailListDto>();
            configuration.CreateMap <TravelTicketDetailListDto,TravelTicketDetail>();

            configuration.CreateMap <TravelTicketDetailEditDto,TravelTicketDetail>();
            configuration.CreateMap <TravelTicketDetail,TravelTicketDetailEditDto>();

        }
	}
}
